/* cssrem插件默认给我们设置的文件大小(font-size)是 16px */

body {
  width: 10rem;
  min-width: 320px;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.5;
  font-family: Arial, Helvetica;
  background: #F2F2F2;
  height: 1200px;
}

a {
  text-decoration: none;
  font-size: .333333rem;
}

/* 如果我们的屏幕低于了320px 那么我们就按照320设计稿来走 */
@media screen and (max-width: 320px) {
  html {
    /* !important: 提权 权重最高 */
    font-size: 32px !important;
  }
}

/* 如果我们的屏幕超过了750px 那么我们就按照750设计稿来走 */
@media screen and (min-width: 750px) {
  html {
    /* !important: 提权 权重最高 */
    font-size: 75px !important;
  }
}

.search-content {
  display: flex;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 10rem;
  height: 1.173333rem;
  background-color: #FFC001;
}

.classify {
  width: .586667rem;
  height: .933333rem;
  background: url(../images/classify.png) no-repeat;
  background-size: .533333rem auto;
  margin: .146667rem .333333rem .133333rem;
}

.search {
  flex: 1;
}

.search input {
  outline: none;
  border: 0;
  width: 100%;
  height: .933333rem;
  border-radius: .466667rem;
  margin-top: .133333rem;
  padding-left: .733333rem;
  color: #757575;
  font-size: .333333rem;
}

.login {
  width: 1rem;
  height: .933333rem;
  margin: .133333rem;
  color: #fff;
  text-align: center;
  line-height: .933333rem;
}